import request from "@/config/request.js";

//添加房间
export function addRecord(data) {
	return request.post(`/gwsj/addRecord`, data);
}

//获取房间信息
export function getRecord(data) {
	return request.get(`/gwsj/getRecord`, data);
}
//更新记录
export function putRecord(data) {
	return request.put(`/gwsj/putRecord`, data);
}
//转账
export function payMoney(data) {
	return request.put(`/gwsj/payMoney`, data);
}

//结束
export function endRecord(data) {
	return request.put(`/gwsj/endRecord`, data);
}